//package com.navi.mould1.session;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.session.data.redis.config.ConfigureRedisAction;
//import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
//
//@Configuration
////maxInactiveIntervalInSeconds 默认是1800秒过期，这里测试修改为60秒
//@EnableRedisHttpSession(maxInactiveIntervalInSeconds=1800)
//public class RedisSessionConfig{
//
//    @Bean
//    public static ConfigureRedisAction configureRedisAction() {
//        return ConfigureRedisAction.NO_OP;
//    }
//
//}